package com.wenjiang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wenjiang.common.lang.Result;
import com.wenjiang.entity.MallReply;
import com.wenjiang.mapper.MallReplyMapper;
import com.wenjiang.service.MallReplyService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lwj
 * @since 2021-10-23
 */
@Service
public class MallReplyServiceImpl extends ServiceImpl<MallReplyMapper, MallReply> implements MallReplyService {


    //添加回复
    @Override
    public Result addReply(MallReply mallReply) {



        // 添加回复
        save(mallReply);
        return Result.succ("评论成功");
    }
}
